//
//  baseWeChatManager.h
//  baseVC
//
//  Created by 陶磊 on 2019/12/16.
//  Copyright © 2019 QHT. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <WXApi.h>

// notification name
extern NSString *const baseWeChatCallBackNotification;
extern NSString *const baseWeChatPayCallBackNotification;
extern NSString *const baseWeChatInvoiceCallBackNotification;

// id
extern NSString *const baseWeChatAppID;
//extern NSString *const ZHUWeChatSecret;
//extern NSString *const ZHUWeChatGrantType;

// url
extern NSString *const baseWeChatGetInvoiceBatchURL;



NS_ASSUME_NONNULL_BEGIN

@interface baseWeChatManager : NSObject

@property (nonatomic, copy) NSString *accessToken;

+ (baseWeChatManager *)getInstance;

+ (BOOL)isWeChatInstalled;

+ (void)getWeChatAccessToken;

// 支付
- (void)pay:(NSDictionary *)dic;
//+ (void)requestWeChat:(NSDictionary *)dic;
// 分享
//- (void)share:(NSDictionary *)dic;

// 分享
+ (void)weChatShare:(NSDictionary *)dic;



@end

NS_ASSUME_NONNULL_END
